//
//  DownloadHeaderView.h
//  CoolFM
//
//  Created by 曹曹 on 16/9/10.
//  Copyright © 2016年 曹曹. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef void(^Block)(UILabel *titleLabel, UIButton *left, UIButton *right);

@interface DownloadHeaderView : UIView

@property (nonatomic, copy) Block block;

+ (instancetype)downloadHeaderViewFrame:(CGRect)frame
                                 Target:(nullable id)target
                          leftBtnAction:(__nullable SEL)actionL
                         rightBtnAction:(SEL)actionR
                          controlsBlock:(Block)block;

@end
NS_ASSUME_NONNULL_END